package com.wxf.dao;

import com.wxf.bean.Student;

import java.util.List;

public interface StudentDao {
    public List<Student> getStudentList(String stuName, String stuNo, int sex, int pageIndex,int pageNum);

    /**
     * 根据当前模糊查询条件，计算符合条件的总条数
     * @param stuName
     * @param stuNo
     * @param sex
     * @return
     */
    public int getTotalDataNumber(String stuName, String stuNo, int sex);

    public int addStudentInfo(Student student);

    public Student displayBeforeModifyStudentInfo(String stuNo);

    public int modifyStudentInfo(Student student);

    public int deleteStudentInfo(int stuId);
}
